

package com.hazelcast.config;

import com.hazelcast.collection.ISet;
import com.hazelcast.internal.config.ConfigDataSerializerHook;

/**
 * Contains the configuration for an {@link ISet}.
 */
public class SetConfig extends CollectionConfig<SetConfig> {

    public SetConfig() {
    }

    public SetConfig(String name) {
        setName(name);
    }

    public SetConfig(SetConfig config) {
        super(config);
    }

    @Override
    public int getClassId() {
        return ConfigDataSerializerHook.SET_CONFIG;
    }

    @Override
    public String toString() {
        return "SetConfig{" + super.fieldsToString() + "}";
    }
}
